@import '~antd/dist/antd.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);

.layout {
  width: 100%;
  height: 100%;
  background-color: #f0f2f5;
}

.right {
  float: right;
  height: 100%;
  margin-right: 10px;
  overflow: hidden;
  .action {
    cursor: pointer;
    padding: 0 12px;
    display: inline-block;
    transition: all 0.3s;
    height: 100%;
    > i {
      vertical-align: middle;
      color: @text-color;
    }
    &:hover {
      background: @pro-header-hover-bg;
    }
    :global(&.ant-popover-open) {
      background: @pro-header-hover-bg;
    }
  }
}

.account {
  .avatar {
    margin: 9px 8px 20px 0;
    color: @primary-color;
    background: rgba(255, 255, 255, 0.85);
    vertical-align: top;
  }
  .name {
    color: @primary-color
  }
}


.backgroundDark {
  background-color: #001527 !important;
}

.backgroundLight {
  background-color: #FFFFFF;
}
